<%--
  Created by IntelliJ IDEA.
  User: 10742
  Date: 2017/6/4
  Time: 15:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    String error = (String)session.getAttribute("error");
    String tips = null;
    if("null".equals(error)){
        tips = "您还未申请查看数据,请进入数据申请中进行申请。";
    }else if("wait".equals(error)){
        tips = "您的申请已经提交，申请结果请在申请结果中查看。";
    }else if("noDatas".equals(error)){
        tips = "您所申请查看的数据不存在";
    } else {
        tips = "您的申请被拒绝了";
    }
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>My JSP 'WaitCheck.jsp' starting page</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>

<body>
<h2 style="margin: 200px 0 0 0;text-align: center;"><%= tips%></h2>
</body>
</html>

